﻿@inject WaitService WaitService
<title>@ViewBag.Title</title>
@await FlushAsync()
@{
    WaitService.WaitForClient();
}
@RenderBody()
@await RenderSectionAsync("content")
@{
    WaitService.NotifyClient();
}